<div class="osztalyok view">
<h2><?php echo __('Osztaly');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $osztaly['Osztaly']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Nev'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $osztaly['Osztaly']['nev']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Ev'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $osztaly['Osztaly']['ev']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Kod'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $osztaly['Osztaly']['kod']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Elkülönített'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $osztaly['Osztaly']['elkulonitett']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $this->Html->link(__('Edit Osztaly'), array('action'=>'edit', $osztaly['Osztaly']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Osztaly'), array('action'=>'delete', $osztaly['Osztaly']['id']), null, sprintf(__('Are you sure you want to delete # %s?'), $osztaly['Osztaly']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Osztalyok'), array('action'=>'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Osztaly'), array('action'=>'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Bizonylatok'), array('controller'=> 'bizonylatok', 'action'=>'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Bizonylat'), array('controller'=> 'bizonylatok', 'action'=>'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Gyujtok'), array('controller'=> 'gyujtok', 'action'=>'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Gyujto'), array('controller'=> 'gyujtok', 'action'=>'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Bizonylatok');?></h3>
	<?php if (!empty($osztaly['Bizonylat'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Naplo Id'); ?></th>
		<th><?php echo __('Osztaly Id'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th><?php echo __('Sorszam'); ?></th>
		<th><?php echo __('Arfolyam'); ?></th>
		<th><?php echo __('Szoveg'); ?></th>
		<th><?php echo __('Datum'); ?></th>
		<th><?php echo __('Hatarido'); ?></th>
		<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($osztaly['Bizonylat'] as $bizonylat):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $bizonylat['id'];?></td>
			<td><?php echo $bizonylat['naplo_id'];?></td>
			<td><?php echo $bizonylat['osztaly_id'];?></td>
			<td><?php echo $bizonylat['user_id'];?></td>
			<td><?php echo $bizonylat['sorszam'];?></td>
			<td><?php echo $bizonylat['arfolyam'];?></td>
			<td><?php echo $bizonylat['szoveg'];?></td>
			<td><?php echo $bizonylat['datum'];?></td>
			<td><?php echo $bizonylat['hatarido'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller'=> 'bizonylatok', 'action'=>'view', $bizonylat['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller'=> 'bizonylatok', 'action'=>'edit', $bizonylat['id'])); ?>
				<?php echo $this->Html->link(__('Delete'), array('controller'=> 'bizonylatok', 'action'=>'delete', $bizonylat['id']), null, sprintf(__('Are you sure you want to delete # %s?'), $bizonylat['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Bizonylat'), array('controller'=> 'bizonylatok', 'action'=>'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Gyujtok');?></h3>
	<?php if (!empty($osztaly['Gyujto'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Gyujtoktipus Id'); ?></th>
		<th><?php echo __('Kod'); ?></th>
		<th><?php echo __('Nev'); ?></th>
		<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($osztaly['Gyujto'] as $gyujto):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $gyujto['id'];?></td>
			<td><?php echo $gyujto['gyujtoktipus_id'];?></td>
			<td><?php echo $gyujto['kod'];?></td>
			<td><?php echo $gyujto['nev'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller'=> 'gyujtok', 'action'=>'view', $gyujto['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller'=> 'gyujtok', 'action'=>'edit', $gyujto['id'])); ?>
				<?php echo $this->Html->link(__('Delete'), array('controller'=> 'gyujtok', 'action'=>'delete', $gyujto['id']), null, sprintf(__('Are you sure you want to delete # %s?'), $gyujto['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Gyujto'), array('controller'=> 'gyujtok', 'action'=>'add'));?> </li>
		</ul>
	</div>
</div>
